package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.UnionActivityTaskData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class CrossUnionActivityTaskBusiness {

    public static Map<String, Map<Integer, UnionActivityTaskData>> getUnionActivityTaskDataMap(int activityId) {
        return DaoHelper.getCrossUnionActivityTaskDaoImpl().getUnionActivityTaskDataMap(activityId);
    }

    public static boolean addUnionActivityTaskData(UnionActivityTaskData data) {
        return DaoHelper.getCrossUnionActivityTaskDaoImpl().add(data);
    }

    public static boolean updateUnionActivityTaskData(UnionActivityTaskData data) {
        return DaoHelper.getCrossUnionActivityTaskDaoImpl().update(data);
    }

}
